#ifndef WAITINGPAGE_H
#define WAITINGPAGE_H

#include <QWidget>

namespace Ui {
class WaitingPage;
}

class QMovie;
class GifWidget;

class WaitingPage : public QWidget
{
    Q_OBJECT
    
public:
    explicit WaitingPage(QWidget *parent = 0);
    ~WaitingPage();

public slots:
    void nextPage();

protected:
    void showEvent(QShowEvent *);
    void paintEvent(QPaintEvent *);
    
private:
    Ui::WaitingPage *ui;
    QTimer *timer;
    GifWidget *m_gif;
};

#endif // WAITINGPAGE_H
